
#include	"SysConfig.h"
#include	"Define.h"
#include	"Stdio.h"
#include	"Display.h"
#ifdef  ST7565P
#include	"ST7565P.h"
#endif
#ifdef  MIC
#include	"MIC.h"
#endif

extern unsigned char ucDISP_Buf[12];

void AUX_DISP_IconMain(void)
{
	DISP_IconSetStatusFlag(1, ICON_MASK_AUX);
}

void AUX_DISP_SubText(void)
{
	unsigned char ucBuf[3];
	memcpy(&ucBuf[0], "AUX", 3);

#ifdef  ST7565P
	ST7565_UpdateSubDisplayData(&ucBuf[0]);
#endif
#ifdef  PT6524
	memcpy(&ucDISP_Buf[0], "AUX", 3);
#endif
}

void AUX_DISP_MainText(void)
{
	unsigned char ucBuf[9];
#ifdef  MIC
	if	(MIC_GetMicStatus() == MIC_ON)
	{
		MIC_DISP_MainText();
		return;
	}
#endif
	memcpy(&ucBuf[0], " AUX IN  ", 9);
	
#ifdef  ST7565P
	ST7565_UpdateDisplayData(13, ucBuf[1]);
	ST7565_UpdateDisplayData(24, ucBuf[2]);
	ST7565_UpdateDisplayData(33, ucBuf[3]);
	ST7565_UpdateDisplayData(54, ucBuf[5]);
	ST7565_UpdateDisplayData(57, ucBuf[6]);	
#endif
#ifdef  PT6524
	memcpy(&ucDISP_Buf[3], &ucBuf[0], 9);
#endif
}


